<include file="__VIEW__/Public/userinfoHead.html" />
<link rel="stylesheet" href="__VIEW__/css/changePwd.css" />
<script>
	var checkPwd = "{|U:'ajaxCheckPwd'}";
	var checkCode = "{|U:'ajaxCheckCode'}";
</script>
<script type="text/javascript" src="__CONTROLLER_VIEW__/js/changePwd.js"></script>
<!-- 头部结束  -->
<!--个人中心主体-->
<div id="content">
	<!--面包屑-->
	<div class="location">
		您当前的位置：
		<a href="{|U:'Index/Index'}">凡客首页</a> >
		<a href="{|U:'UserInfo/Index'}">我的凡客</a> >
		<a href="{|U:'UserInfo/changePwd'}">修改密码</a>
	</div>
	<!--面包屑-->
	<div class="main">
		<!--个人中心左边-->
		<include file="__VIEW__/Public/userinfo_left.html" />
		<!--个人中心中心右边-->
		<div class="right">
			<div class="title">
				<p>
					修改密码
				</p>
			</div>

			<!--修改密码表单主体-->
			<div class="main">
				<form action="{|U:'changePwd'}" id="changePwd" method="post" >
					<div class="form-group">
						<label for="oldpassword">我的旧密码：</label>
						<input type="password" name="oldpassword" id="oldpassword" />
					</div>
					<div class="form-group">
						<label for="newpassword">请输入新密码：</label>
						<input type="password" name="newpassword" id="newpassword" />
					</div>
					<div class="form-group">
						<label for="renewpassword">请再次输入新密码：</label>
						<input type="password" name="renewpassword" id="renewpassword" />
					</div>
					<div class="form-group">

						<label for="code">请输入以上验证码：</label>
						<input type="text" name="code" id="code" />

					</div>
					<div class="form-group">
						<label for=""><a href="javascript:changeCode();">看不清？换一张</a>
						</label>

						<img src="{|U:'code'}" alt="" id="vcode" style="margin-left:10px;" />

					</div>
					<div class="form-group">
						<input type="submit" value="确定" class="submit" />
					</div>
				</form>
			</div>
		</div>

	</div>
</div>
<script>
	function changeCode() {
		$('#vcode').triggerHandler('click');
	}
	$(function() {
		$('#vcode').click(function() {
			var random = Math.random();
			var oldSrc = $(this).attr('src');
			$(this).attr('src', oldSrc + '?radom' + random);
		})
	})
</script>
<!--个人中心主体结束-->

<!-- 页脚开始 -->
<include file="__VIEW__/Public/userinfo_foot.html" />
<!-- 页脚结束 -->
</body>

</html>